import 'package:flutter/material.dart';
import 'package:example/base/base_page_widget.dart';
import 'package:example/config/color_config.dart';
import 'package:example/widget/my_image.dart';
import 'package:example/widget/my_navbar.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class PageNotFoundPage extends BasePageWidget {

  PageNotFoundPage({Key? key}) : super(key: key);

  @override
  Widget initView(BuildContext context) {
    return Scaffold(
      appBar: MyNavBar(
        centerTitle: "",
        backgroundColor: Colors.white,
      ),
      body: SizedBox(
        width: double.infinity,
        child: Column(
          children: [
            _noneLayout(),
          ],
        ),
      ),
    );
  }

  _noneLayout() {
    return Column(
      children: [
        SizedBox(height: 125.w),
        MyImage(
          path: "assets/svg/ic_placeholder_not_page.svg",
          height: 190.w,
        ),
        SizedBox(height: 45.w),
        Text(
          "模块开发中",
          style: TextStyle(
            color: ColorConfig.text_gray,
            fontSize: 11.sp,
          ),
        ),
      ],
    );
  }
}
